//
//  XJAfterSaleHistoryModel.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/6/20.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XJAfterSaleHistoryModel : NSObject
/**1.订单号*/
@property (nonatomic, copy) NSString *refund_sn;
/**2.时间*/
@property (nonatomic, copy) NSString *create_time;
/**3.购买数量*/
@property (nonatomic, copy) NSString *cover;
/**4.商品名字*/
@property (nonatomic, copy) NSString *goods_name;
/**5.数量*/
@property (nonatomic, copy) NSString *quantity;
/**6.有一种方式MJ搞不定。虽然官方给出示例了, 根本就不能用。只说了半句话*/
@property (nonatomic, copy) NSString *btnText;

@end


#pragma mark - 服务器返回数据参考
/**
 {
 "code": 0,
 "data": {
 "refund_list": [{
 "id": 101,
 "refund_sn": "RE18062017454000000011",
 "customer_id": 7,
 "order_goods_id": 382,
 "reason": "伤情售后 申请售后",
 "images": "",
 "refund_state": 1,
 "create_time": 1529487940759,
 "end_time": 1529488372759,
 "date_finish": 0,
 "order_state": 8,
 "is_delete": 0,
 "remind_count": 0,
 "linkman": "李思",
 "phone": "15837694444",
 "goods_id": 140,
 "quantity": 1,
 "cover": "http://static.zertone1.com/c3QNDIRqqim9m3zhtRqpSquiAoTnuH25.png",
 "btn": {
 "code": "cancel",
 "text": "取消申请",
 "text_color": "000000",
 "background_color": "FFFFFF"
 },
 "goods_name": "iOS测试商品1"
 }, {
 "id": 102,
 "refund_sn": "RE18062017484400000014",
 "customer_id": 7,
 "order_goods_id": 368,
 "reason": "申请售后之后没有申请售后历史。",
 "images": "",
 "refund_state": 1,
 "create_time": 1529488124860,
 "end_time": 1529488556860,
 "date_finish": 0,
 "order_state": 7,
 "is_delete": 0,
 "remind_count": 0,
 "linkman": "张三",
 "phone": "15837694444",
 "goods_id": 110,
 "quantity": 1,
 "cover": "http://static.zertone1.com/MBjYCy5H5R0WoEiA5Pzc2IfXSa8cNyeF.jpg",
 "btn": {
 "code": "cancel",
 "text": "取消申请",
 "text_color": "000000",
 "background_color": "FFFFFF"
 },
 "goods_name": "发顺丰"
 }]
 }
 }
 */
